From 28c8460abd6c453d46516c6396d42d667dc339b9 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 3 Apr 2014 15:06:51 -0400 Subject: [PATCH] xenctx: Correct FMT_??B_WORD for arm64. These should all be unsigned long long to match various variables used in the code, same as x86_64. Signed-off-by: Ian Campbell Signed-off-by: Don Slutz --- tools/xentrace/xenctx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c index 7275a00eb8..47712abdf1 100644 --- a/tools/xentrace/xenctx.c +++ b/tools/xentrace/xenctx.c @@ -57,8 +57,8 @@ typedef uint64_t guest_word_t; #elif defined(__aarch64__) #define NO_TRANSLATION typedef uint64_t guest_word_t; -#define FMT_32B_WORD "%08lx" -#define FMT_64B_WORD "%016lx" +#define FMT_32B_WORD "%08llx" +#define FMT_64B_WORD "%016llx" #endif struct symbol { -- 2.30.2